package udpInvoker.test;

import udpInvoker.main.lib.Invokable;

/**
 * Created by IntelliJ IDEA.
 * User: esr
 * Date: 09.okt.2008
 * Time: 12:00:04
 * Copyright 2008  Espen Skjervold, FFI
 */
public class NilsRemoting extends Invokable {


    public NilsRemoting() {
        setPassword("hemmelig");

        System.out.println("NilsRemoting waiting for invocations...");
        //setUnicastAddress("localhost", 3333);
    }



    public String getMessage(String test) {
        System.out.println("NilsRemoting invoked!");
        return "Dette er en melding fra nilsremoting";
    }



    public static void main(String[] args) {
        new NilsRemoting();
    }
}
